package cn.zy.service.impl;

import java.util.Date;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.zy.bean.LeaveWord;
import cn.zy.dao.LwordDao;
import cn.zy.service.LwordService;

@Service("lwordServiceI")
public class LwordServiceI implements LwordService{

	@Resource(name = "lwordDaoBean")
	private LwordDao lwordDao;
	public void saveSLword(LeaveWord lword) {
		lword.setLwordDate(new Date());
		lwordDao.saveDLword(lword);
	}

	@Override
	public LeaveWord findSLword(String nickname) {
		
		return null;
	}

	@Override
	public void deleteSLword(String... nicknames) {
		
		
	}

}
